home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / 3b2-faq.part2 < prev    next >
Encoding:
Internet Message Format  |  1994-05-06  |  30.7 KB

  1. Subject: AT&T 3B2 Frequently Asked Questions - Part 2/2
  2. Newsgroups: comp.sys.att,news.answers,comp.answers
  3. From: greg@gagme.wwa.com (Gregory Gulik)
  4. Date: 4 May 1994 10:23:51 -0500
  5.  
  6. Archive-name: 3b2-faq/part2
  7.  
  8. ------------------------------------------------------------------------------
  9. Subject: 17 What are the pinouts of those phone-like serial connectors?
  10. ------------------------------------------------------------------------------
  11.  
  12. The connectors 3B2's use are called RJ-45.  They are 8 conductor
  13. telephone like connectors, and lucky for us, are pretty standard.  You
  14. can either buy the cables and connectors from AT&T for an arm and a
  15. leg, or elsewhere.  I don't know about the cables, since I've never
  16. bought them from anyone but AT&T, but I have made my own RS-232
  17. connectors with excellent results.
  18.  
  19. The following is an excellent description of the RJ-45 port on the 3B2:
  20.  
  21. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  22.  
  23. Looking into the 8 pin modular RJ-45 jack you'll see that pin 1 should
  24. be on the right.
  25.  
  26.     Diagram of what you should see when looking
  27.     at an 8 PIN modular jack connector.
  28.  
  29.                +----------+
  30.                | 87654321 | 
  31.                |          |
  32.                +--+    +--+
  33.                   |    |
  34.                   +----+
  35.  
  36. Ok, not all 3B2 8 pin modular jack connectors are created "EQUAL".
  37. These beasties are used for running StarLan 1MBit, EPORTS cards,
  38. PORTS cards, as well as for running ETHERNET 10MBits as well.
  39.  
  40. The pin outs for the two modular jack cables on the back of the
  41. 3B2, as well as for the PORTS card should be as follows:
  42.  
  43.      PIN     Lead           Direction             Explanation
  44.     =====  ==========     =============         ========================
  45.       1     PROT GRD                              Ground
  46.       2     reserved                              Not Connected
  47.       3     TXD0            Out                   Transmit Data
  48.       4     DTR0            Out                   Data Terminal Ready
  49.       5     RXD0            In                    Receive Data
  50.       6     DCD0            In                    Data Carrier Detect
  51.       7     SIG GRD                               Signal Ground
  52.       8     reserved                              Not Connected
  53.  
  54. The 2 modular jacks on the back of your machine should be labeled
  55. console and contty.  If your talking about a PORTS card, here is
  56. what one looks like:
  57.  
  58.      Centronics connector
  59.      for Parallel Printer
  60.           |
  61.          \|/
  62.      +------------+     +----+    +----+    +----+   +----+
  63.       \          /      |    |    |    |    |    |   |    |
  64.        \________/       +-__-+    +-__-+    +-__-+   +-__-+
  65.  
  66.                            ^         ^        ^        ^
  67.                           The above 4 RJ45 connectors are for
  68.                         plugging serial terminals into your 3B2.
  69.  
  70. The EPORTS card is card that has 8 RJ45 connectors (8 pin modular
  71. jacks) on it.  This card is where you would want to plug a high
  72. speed modem onto your system, because the above connectors DO NOT
  73. SUPPORT HARDWARE FLOW CONTROL.  The PIN OUTS for the EPORTS card
  74. are as follows:
  75.    
  76.      PIN     Lead           Direction             Explanation
  77.     =====  ==========     =============         ========================
  78.       1     PROT GRD                              Ground
  79.       2     CTS             Out                   Clear to Send
  80.       3     TXD0            Out                   Transmit Data
  81.       4     DTR0            Out                   Data Terminal Ready
  82.       5     RXD0            In                    Receive Data
  83.       6     DCD0            In                    Data Carrier Detect
  84.       7     SIG GRD                               Signal Ground
  85.       8     RTS             In                    Request to send
  86.  
  87. * NOTES:
  88.  
  89. CTS & RTS (if you have them).
  90.     Most 3B2 systems need to do the following to enable hardware
  91.     flow control.  Otherwise the 3B2 will ignore RTS & CTS.
  92.     Also see the FAQ item about handing high speed modems on
  93.     EPORTS cards for more detailed information.
  94.  
  95.     epstty hfc    <-- XON/XOFF flow control must be disabled
  96.               before you do this.  The stty command is
  97.               one way to disable XON/XOFF.  Line
  98.               DISCIPLINES are another way to do this.
  99.               See etc/gettydefs file.
  100.  
  101. DTR0 notes. {3B2 uses this to signal DISCONNECT}
  102.  
  103.     When the 3B2 is active on the port  (waiting for someone
  104.     to logon to the port or whatever.), DTR is active.   When
  105.     the 3B2 wishes to DISCONNECT (ie, too many wrong passwords,
  106.     or the user logs off the port), it will lower DTR momentarily.
  107.     If you are trying to get a modem to work, you might want
  108.     the modem to DISCONNECT the user when DTR is dropped..
  109.  
  110. DCD0 notes. {Used to tell 3B2 that the user has DROPPED CARRIER}
  111.  
  112.     When the DCD is set inactive, the 3B2 will assume that the
  113.     user has either turned off the terminal, or dropped carrier.
  114.     If this occurs, the user is logged off the system, and
  115.     background tasks are aborted.  If DCD is inactive, be
  116.     aware that NONE of the standard AT&T provided utilities
  117.     are capable of sending anything to the device.  There is
  118.     a way to get around this in the more recent releases of
  119.     the 3B2's OS.  See your admin documentation for details.
  120.  
  121.     Otherwise, in the case of a MODEM, when the user drops
  122.     carrier, you want the modem to "momentarily" lower this
  123.     DCD0 just long enough for the 3B2 to realize that the user
  124.     has dropped carrier.  The modem should then Re-ENABLE DCD0,
  125.     so that the 3B2 will be able to send data to the modem.
  126.     {needed for cu, and outbound UUCP to work correctly in
  127.     older releases of the OS}
  128.  
  129.     Most semi-decent modems are capable of handling DCD and
  130.     DTR in a 3B2 friendly manner.  I have done this with PEP's,
  131.     USR HST's, and MicroComm 9600 AX modems, without incident.
  132.  
  133. From: pen@cbnewsf.cb.att.com (paul.e.nepermann)
  134.  
  135. Here are the pinouts for the connectors from the 8 pin modular to
  136. the 25 pin adapters.
  137.  
  138.     8 pin modular to 25 pin RS232C Terminal/Printer
  139.     8 pin modular to 25 pin RS232C ACU Modem
  140.  
  141.           |       Terminal/Printer        |    ACU Modem
  142. 8 pin side    |    25 pin/male   |    25 pin/female |    25 pin
  143.           |              |              |
  144. 1  FG          |    FG    1     |    FG    1     | FG    1
  145. 2  CTS (in)   |    RTS    4     |    RTS    4     | CTS    5
  146. 3  TXD (out)  |    RXD    3     |    RXD    3     |    TXD    2
  147. 4  DTR (out)  |    DCD    8     |    DCD    8     | DTR    20
  148. 5  RXD (in)   |    TXD    2     |    RXD    2     | RXD    3
  149. 6  DCD (in)   |    DTR    20    |    DTR    20    | DCD    8
  150.           |    DSR    6     |              |
  151. 7  SG          |    SG    7     |    SG    7     | SG    7
  152. 8  RTS (out)  |    CTS    5     |    CTS    5     | RTS    4
  153.  
  154. ------------------------------------------------------------------------------
  155. Subject: 18 What is the u3b. newsgroup hierarchy?
  156. ------------------------------------------------------------------------------
  157.  
  158. Don't worry about it, you're not missing anything.  It's an almost
  159. completely dead hierarchy that used to be about 3B2's and 3B1's.
  160. Discussions about 3B2's have migrated to comp.sys.att, and discussions
  161. about 3B1's have migrated to comp.sys.3b1.
  162.  
  163. ------------------------------------------------------------------------------
  164. Subject: 19 What is the proper way to rebuild the kernel after tuning
  165.         kernel parameters?
  166. ------------------------------------------------------------------------------
  167.  
  168. # cp /unix /oldunix
  169. # cd /etc/master.d
  170.  
  171. Edit your kernel parameters
  172.  
  173. # cd /boot
  174. # mkboot -k KERNEL
  175. # cd /
  176. # sysadm firmware
  177.  
  178. Once in firmware mode, have the 3B2 boot using /etc/system
  179.  
  180. ------------------------------------------------------------------------------
  181. Subject: 20 Which GNU packages DON'T run on the 3B2?
  182. ------------------------------------------------------------------------------
  183.  
  184. Most software from the Free Software Foundation compiles and runs
  185. on 3B2s with little or no modification.  The following are exceptions
  186. and their reasons.  Please prove me wrong, I'd love to have some
  187. of this stuff on my 3B2 as well.
  188.  
  189. gdb    - GNU Debugger
  190.       No configuration files for WE32K processor.
  191.  
  192. libg++    - C++ Libraries
  193.       The g++ compiler produces invalid assembler code for one
  194.       of the modules.
  195.  
  196.  
  197. ------------------------------------------------------------------------------
  198. Subject: 21 How do I put a root and/or swap partition on a SCSI drive
  199.             on a 3B2/300|310|400?
  200. ------------------------------------------------------------------------------
  201.  
  202. From: rthomas@hakatac.almanac.bc.ca (Robert N Thomas)
  203.  
  204. [This is intended for experienced 3B2 system administrators only.
  205.  You can lose all the data on your system if a mistake is made.
  206.  You should make a full system backup before you try this.  Heck,
  207.  make two just to be sure.  Do this at your own risk!]
  208.  
  209. Well, I have managed to get a SCSI drive interfaced to my unix system.
  210. I thought that while this is all fresh in my mind, that I would type
  211. this document and make it available to the Net.  I also am keeping a
  212. copy of it to aid me if I need to do this again.  The EMAIL message by
  213. geoff describing the edittbl process was invaluable to me.  But it
  214. still took 30 hours for me to get it to work.  Hopefully the
  215. information here will make it easier for someone else trying to get
  216. this stuff to work.
  217.  
  218. I have a 3B2/400 computer system, with the following required hardware
  219. and software:
  220.  
  221. 1 SCSI Host Adaptor Card.
  222. 1 SCSI cable.
  223. 1 brand new SCSI disk drive. In this case a Quantum 170 Meg drive.
  224.  
  225. Software Required.
  226. cd /usr/options
  227. grep -i scsi *
  228. scsi.name:AT&T 3B2 SCSI Host Adapter Utilities Release 1.0
  229. sd01.name:AT&T 3B2 SCSI Disk Controller Utilities Release 3.0
  230.  
  231. You need the SCSI host adaptor utilities, and disk controller
  232. utilities.  If you don't have the SCSI card, and the software, don't
  233. bother trying it.
  234.  
  235. Here's what I did.
  236.  
  237. prtconf  <-- Take down what SCSI addresses you currently have in use.
  238.              Look under SCSI at the ID: number.
  239.  
  240. Jumper your new hard disk to an unused SCSI ID: number (0-7) (don't
  241. forget about terminating resistors.)
  242.  
  243. I didn't do this and wasted a few hours because I managed to pick one
  244. of the few "used" address's.  BTW, Address 0 is always used on a 3B2.
  245. SCSI host adaptor takes this address.
  246.  
  247. Power Down the 3B2.
  248. Connect the new SCSI drive to the 3B2 SCSI bus.
  249. Power the 3B2 on.
  250.  
  251. With finger on the CTRL-S or printscreen, watch the machine boot. As it
  252. comes up it will say something like:
  253.  
  254. unknown device "QUANTUM ELS170S         3.5" not configured (*void).
  255.   (TC:0, ID:2)
  256. {Gee, maybe I am installing a Quantum 170 on my 3b2 at address 2 eh??}
  257.  
  258. Write all this down, and ensure you got it right.  The 3B2 usually
  259. tries to scroll it off right away for you, to be helpful :-}
  260.  
  261. logon as root.
  262. cd /etc/scsi
  263. ./edittbl -l     <-- The idea here is to view how SCSI disk entries are
  264.                      formatted.  I'll show you what I did here to get the
  265.                      QUANTUM 170 up.
  266. ./edittbl -i     <-- We want to insert a new entry.
  267. Enter Vendor ID: QUANTUM
  268.             The vendor ID must be padded out to 8 characters.  So add one
  269.             space on the end of quantum to pad it out to 8 characters.
  270. Enter Product ID: ELS170S         
  271.             The vendor id entered must be 16 characters.  The "3.5" won't
  272.             fit in 16 characters, hence I simply added 9 spaces onto the
  273.             end until I had 16 characters.
  274. AT&T Device Name: SD01
  275.             SD01 = disk drive
  276.             ST01 = tape drive
  277. TC Driver type: 0x001
  278. Enter Peripheral Device Type: 0x000       <-- Most cases.  1 = tape
  279.                                                            0 = disk
  280. Max lu supported: 0x001       <--- How many logical units, or if you like
  281.                                    subdevices are here.  Usually 1.
  282.  
  283. The system then asks again what vendor ID again.
  284.  
  285. Enter Vendor ID: <CTRL-D>    <--- CTRL-D to update and exit.
  286.                                   Interrupt to exit without save
  287.  
  288.     Next...
  289.  
  290. cd to /usr/lib/scsi
  291.  
  292. Next, you want to edit the tc.index file.   Add an entry for your hard
  293. disk similar to the others.  Here's what I did for the Quantum.
  294.  
  295. QUANTUM ELS180S         3.09
  296. sd00.0
  297.  
  298. Again, QUANTUM padded to 8 chars, ELS170S.  Must be at least 16 chars
  299. long.  In my case I went "over it".
  300.  
  301. sysadm reboot     <--- Reboot machine.
  302.  
  303. Once machine is up, 
  304.  
  305. sysadm single     <--- Go to single user mode.
  306.                        Rumor has it that formatting needs single user mode.
  307.  
  308. cd /usr/lib/scsi  
  309. ./format -v /dev/xxxxxx   <-- In my case /dev/rdsk/c1t6d0s6
  310.               <-- c1 = controller #1, t6 = scsi ID number
  311.               <-- d0 = disk 0, and s6 = partition number
  312.  
  313. sysadm partitioning       <-- to add simple data partitions to the system
  314.               <-- and add them
  315.  
  316.       or
  317.  
  318. In my case, since I wanted the SCSI disk to replace my existing boot
  319. disk, you can't use sysadm partitioning.  Instead, you have to do it in
  320. a more manual mode.  I could use a SLOW MFM drive for critical things
  321. like root, swap and /usr, or I could use a nice BRAND NEW SCSI drive
  322. for this, and use the MFM's for other less critical things.
  323.  
  324. To become a bit more familiar with how your disks are setup, you can
  325. try the below in safety.  prtvtoc only displays the current settings.
  326.  
  327. prtvtoc /dev/dsk/c1d0s6   <-- Display partitions on my BOOTABLE CD WREN
  328.                               70 Meg MFM hard disk. A standard one for most
  329.                               3B2 systems.
  330. prtvtoc /dev/dsk/c1d1s6   <-- This displays the second partition settings for
  331.                               the second MFM hard disk on a 3B2.
  332.  
  333. If the above does not work, you may cat /etc/fstab and this will show
  334. you most of your disks.  You could also check /etc/system for your
  335. root partitions name.
  336.  
  337. In my case, I decided to store these configurations in /etc/vtoc, since
  338. it makes sense to know what's in your partition tables.  The manuals
  339. made mention of this vtoc directory.  When I got there, this was an
  340. empty directory so I decided to populate it.
  341.  
  342. cd /etc/vtoc
  343. prtvtoc /dev/rdsk/c1d0s6 > c1d0s6.vtoc
  344. prtvtoc /dev/rdsk/c1d1s6 > c1d1s6.vtoc
  345.  
  346. Since we want to add partitions to the newly added SCSI disk, what I
  347. did is.   Remember to select the correct device id for the disk your
  348. adding.
  349.  
  350. fmthard /dev/rdsk/c1t6d0s6
  351.  
  352. This will install an unparitioned vtoc (volume table of contents, or
  353. partition table if you prefer).  This gave me some badly needed
  354. information about how many sectors are usable on the disk.
  355.  
  356. I then would recommend:
  357.  
  358. cd /etc/vtoc
  359. prtvtoc /dev/rdsk/c1t6d0s6 > c1t6d0s6.vtoc
  360.  
  361. Funny thing about prtvtoc.  It's output can be read by the partitioning
  362. program to re-create your partitions!!!  Nice touch don't you think.
  363.  
  364. I then went and edited this file's partition tables entries such that I
  365. would have 20 Meg root, 140 Meg /usr and 8 Megs of swap.
  366.  
  367. Here is what it looked like when I finished for my Quantum drive:
  368.  
  369. * /dev/rdsk/c1t6d0s6 partition map
  370. *
  371. * Dimensions:
  372. *     512 bytes/sector
  373. *      63 sectors/track
  374. *       4 tracks/cylinder
  375. *     252 sectors/cylinder
  376. *    1325 cylinders
  377. *    1323 accessible cylinders
  378. *
  379. * Flags:
  380. *   1: unmountable
  381. *  10: read-only
  382. *
  383. *                          First     Sector    Last
  384. * Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
  385.        0      2    00        100     40986     41085
  386.        1      3    01      41086     16384     57469
  387.        2      4    00      57470    275926    333395
  388.        6      0    01          0    333396    333395
  389.        7      0    01          0       100        99
  390.  
  391.  
  392. Partition 0 is a root file system.  Starting at sector 100, going to
  393. sector 41085, making a total of 41085 - 100 + 1 = 40986 sectors.
  394.  
  395. Partition 1 is my swap partition.  I started this one at sector num
  396. 41086 to 57469, making a total of 57469 - 41086 +1 = 16384 sectors, or
  397. 8 Meg of swap (16384 * 512 bytes/sector = 8Meg).  I also positioned
  398. this as close to the center of the drive as possible, to try and make
  399. it more accessible.  I want speedy access to this area.  Putting it at
  400. the beginning of the drives, means that when the 3B2 has to read a
  401. swapped process, its got to seek to the beginning of the drive.  I save
  402. myself a bit of seek time.
  403.  
  404. Partition 2 is my /usr file system.
  405.  
  406. Partition 6 defines the total length of the drive.
  407.  
  408. Partition 7 defines the BOOT area of the drive.  I selected the
  409. beginning of the drive.  I suspect you could move it anywhere, but for
  410. me the beginning is good enough.
  411.  
  412. The TAGS also seem to define the type of partition, hence you should
  413. follow the TAG & FLAG examples shown above.  If your just adding a data
  414. disk, let sysadm partition do the dirty work for you.
  415.  
  416. One observation is fmthard does not format a hard disk. I think a name
  417. like makevtoc would be a bit better choice of a name.  Oh well, who
  418. said unix makes sense anyway!!!
  419.  
  420. Ok, now that the file is all edited just right, time to partition the
  421. disk:
  422.  
  423. fmthard -s /etc/c1t6d0s6.vtoc /dev/rdsk/c1t6d0s6 
  424.  
  425. I would recommend doing a prtvtoc to ensure that you got everything
  426. right.  prtvtoc will declare if you had any problems.  EG: unused
  427. sectors and such.
  428.  
  429. Now that the disk is partitioned, it's time to make it a bootable
  430. disk.  I tried to get newboot to work and couldn't.  So I went and used
  431. dd to get the job done:
  432.  
  433. dd if=/dev/dsk/c1d0s7 of=/dev/dsk/c1t6d0s7
  434.  
  435. And POOF!  Instant boot disk.
  436.  
  437. Next, we must use mkfs to create the file systems.  Again, the
  438. /etc/vtoc directory contains most of the answers.  In this case the
  439. number of sectors for each mountable partition.
  440.  
  441. mkfs /dev/dsk/c1t6d0s0 40986:5120 10 126 -b 1024   <-- makes root file sys
  442.  
  443.  40986 = total number of sectors.
  444.   5120 = total number of inodes (total number of files you can create)
  445.     10 = gap. Floppy this should be 1, on my box 10.  It's in the
  446.      manuals.  Your system may be somewhat different for gap.
  447.      Since I have a 3B2/400 at 10MHz, 10 is good.
  448.    126 = Blocks per track.  In the prtvtoc output it says 252 sectors
  449.      per cylinder.  Since each sector is 512 bytes, and my block
  450.      size is 1024.  You get 512/1024 * 252 to get 126 blocks per
  451.      cylinder.
  452.   1024 = I want a 1K/block file system.  I sure could use 2K file
  453.          system software.
  454.  
  455. I got 5120 from a df -lt command.  The current configuration AT&T
  456. provided for my root file system.  Seems good enough for me.
  457.  
  458. mkfs /dev/dsk/c1t6d0s2 275926:40000 10 126 -b 1024  <-- makes my /usr file sys
  459.  
  460. I kinda trumped up my inodes here.  It's always good to have enough
  461. Inodes, and a dam pain when you run out.  I wanted to ensure I had
  462. enough.  Adding more later means the destruction of all files on the
  463. file system and a restore from tape to recover.
  464.  
  465. mkfs to partition 1 (the swap area) is not very useful. Also mkfs to
  466. partition 6 in also not a smart idea.
  467.  
  468. Next it is time to label the file system.  This is a job for the
  469. labelit command.
  470.  
  471. labelit /dev/dsk/c1t6d0s0 /
  472. labelit /dev/dsk/c1t6d0s2 /usr
  473.  
  474. mount each newly created file system(s).   For me, I did the following:
  475.  
  476. cd /
  477. mkdir user
  478. mkdir root
  479. mount /dev/dsk/c1t6d0s0 /root
  480. mount /dev/dsk/c1t6d0s2 /user
  481.  
  482. OK, now that we have our file systems online, it's time to copy the
  483. files over to this new file system.  Here's what I did:
  484.  
  485. cd /
  486. find . -mount -print | cpio -pvdlm /root  
  487.  
  488. This copies all files on ONLY THE ROOT {/} FILE SYSTEM to the /root
  489. file system.
  490.  
  491. cd /usr
  492. find . -print | cpio -pvdlm /user
  493.  
  494. Copies all files on /usr as well as any other file systems below /usr
  495. to the /user file system.  You could use the -mount option to limit
  496. this.  In my case there are no other file systems, so who cares :-}.
  497.  
  498. OK, now all needed files are now on my SCSI drive. Only problem is I
  499. can't boot off the scsi's / file system.
  500.  
  501. cd /root/etc
  502. vi system
  503.  
  504. While you edit this file, you'll find a section all commented out.
  505. The default looks like:
  506.  
  507. * System device specifications
  508. *
  509. * NOTE:  With VTOC, specifications are not required.
  510. *      following is an example of what should go here
  511. *
  512. *    ROOTDEV: /dev/idsk00
  513. *    PIPEDEV: /dev/idsk00
  514. *    SWAPDEV: /dev/swap 0 3528
  515.  
  516. I changed my /root/etc/system files entries to look like:
  517.  
  518. * System device specifications
  519. *
  520. * NOTE:  With VTOC, specifications are not required.
  521. *      following is an example of what should go here
  522. *
  523. ROOTDEV: /dev/dsk/c1t6d0s0
  524. PIPEDEV: /dev/dsk/c1t6d0s0
  525. SWAPDEV: /dev/dsk/c1t6d0s1 0 16384
  526.  
  527. I ran into a terrible problem, and could not get the SCSI drive to
  528. boot.  The system would start booting off the SCSI, and then switch
  529. midstream to the MFM drives on me.   This was horrible, and I could not
  530. find anything in the docs to help.  Editing the /etc/system was the
  531. only way I could get it to work.  If there is a better way, I would
  532. appreciate hearing about it.
  533.  
  534. Since the SCSI is the new root file system, you'll have to ensure that
  535. all mount point directories are re-created on your file system
  536. replacements.  All file system mountpoints will be nonexistent on your
  537. new file systems.
  538.  
  539. mkdir /usr
  540.  
  541. Now you need to select which file systems you want mounted at boot
  542. time.
  543.  
  544. cd /etc
  545. vi fstab
  546.  
  547. In my case, the default file looked like:
  548.  
  549. /dev/dsk/c1d1s2 /usr  
  550. /dev/dsk/c1d0s8 /usr2  
  551.  
  552. I changed it to:
  553.  
  554. /dev/dsk/c1t6d0s2 /usr
  555. /dev/dsk/c1d0s8 /usr2  
  556.  
  557. And remember to ensure the mount directories DO exist.
  558.  
  559. sysadm firmware
  560.  
  561. MCP is usually the Password for most dos based systems.
  562.  
  563. For the boot file name, type in /etc/system
  564.  
  565. For the load device, select SCSI
  566.  
  567. For the subdevice, select the SCSI disk.
  568.  
  569. The system will produce a warning about the devices.  I don't know if I
  570. did all the correctly, but it seems to work.  I tried to find the
  571. answer to my boot disk problem in the docs, but failed.  I assume the
  572. warnings are caused by the 3B2's OS assuming the existence of only MFM
  573. drives.
  574.  
  575. If the machine boots, and your df -lt reports a SCSI root file system,
  576. and a SCSI /usr, then it worked.
  577.  
  578. Next you'll have to use sysadm autold to select the SCSI boot device.
  579.  
  580. Hope this helps, and may be kept available to help someone else get
  581. SCSI disks on their 3B2 as well.
  582.  
  583. Cheers....
  584.                     ---- Robb ----
  585.  
  586. ------------------------------------------------------------------------------
  587. Subject: 22 How do I take a crash dump?
  588. ------------------------------------------------------------------------------
  589.  
  590. From: hak@alf.cooper.edu (Jeff Hakner)
  591.  
  592. The procedure is given in the SAG, but anyway:
  593.     After the system panics and gives you the SYSTEM FAILURE...
  594.     message, type the firmware password.  You'll need 6 formatted
  595.     floppies.  For program name, type sysdump.  This is a firmware
  596.     program, so it won't ask for a device.
  597.  
  598.     Insert the first floppy, hit c, as per directions on screen.
  599.     Continue for the remaining floppies.  This process takes ~15
  600.     minutes.
  601.  
  602.         After the dump is complete, (remove the floppy and) boot unix.
  603.  
  604.     When the system is up, find a filesystem with at least 4MB
  605.     free.  Run ldsysdump filename, where filename is the name of
  606.     the image file which will be created.  Once again, feed it the
  607.     6 disks (in sequence) as prompted.
  608.  
  609.     When this is done, filename will contain the core image of the
  610.     crashed system.  To analyze, use crash filename.
  611.  
  612.         (Of course, if you don't know how to use crash.....)
  613.  
  614. ------------------------------------------------------------------------------
  615. Subject: 23 Why do I get "Host is unreachable" when trying to connect
  616.             to a host on the Internet?
  617. ------------------------------------------------------------------------------
  618.  
  619. From: morgan@engr.uky.edu (Wes Morgan)
  620.  
  621. Q: Why can I connect to some sites with telnet or ftp, but not others?
  622.    Why do I get "Connection timed out" and "Host is unreachable" errors?
  623.    What is the "TTL problem"? How can I fix it?
  624.  
  625. A: Some (or all!) of these problems can often be traced to one
  626.    particular kernel parameter -- IP_TTL.
  627.  
  628.    For those unfamiliar with TCP/IP standards, TTL stands for "time
  629.    to live." Each TCP/IP packet has a finite lifetime, measured in
  630.    "hops."  Normally, each router or brouter along the transmission
  631.    path is considered one hop.  When the packet is first sent, it's
  632.    time-to-live is set to the value of IP_TTL; as the packet travels
  633.    through each router/brouter, this counter is decremented by one.
  634.    If a packet's TTL is exhausted before it reaches its destination,
  635.    an error message is returned and the packet is killed.  This is
  636.    often what actually happens behind those "Connection timed out"
  637.    and "Host is unreachable" error messages.
  638.  
  639.    [ Readers in search of more detailed information about TTL and other  ]
  640.    [ IP packet characteristics should read RFC 791, "Internet Protocol," ]
  641.    [ which is available from many anonymous FTP sites.  Ask archie about ]
  642.    [ "rfc791.txt"                                                        ]
  643.    
  644.    By default, WIN/TCP sets IP_TTL to 15 (0x0f); while this may be
  645.    more than adequate for local networking, it is often far too
  646.    small for systems participating in the larger Internet.  (I
  647.    have, however, seen a *local* network that had enough routers
  648.    to deplete the default TTL on exclusively local traffic --
  649.    sheesh!)
  650.  
  651.    Those who wish to modify the IP_TTL parameter will find it in:
  652.     /etc/conf/pack.d/ip/space.c  (WIN/TCP for System V/386)
  653.     /etc/master.d/ip             (WIN/TCP for 3b2 SVR3.2)
  654.    Follow the normal procedures for modifying tunable parameters.
  655.    REMEMBER -- ALWAYS MAKE A BACKUP COPY OF THE OLD KERNEL!
  656.  
  657. Q: I've been told to set IP_TTL to its maximum value, 255 (0xFF).
  658.    Is a high TTL undesirable?
  659.  
  660.    For normal operation, it's no big deal; it will cause your
  661.    packets to bounce around locally a bit more than necessary, but
  662.    that's a local decision.
  663.  
  664.    However, the impact of a high TTL can be far more significant
  665.    in long-range networking.  During periods of network flakiness
  666.    (which seem to be happening at an ever-increasing rate), a high
  667.    TTL can cause the packet to bounce around *far* more than
  668.    necessary.  For instance, suppose that router A thinks that a
  669.    router B should handle traffic for machine C; it will forward
  670.    packets to router B, decrementing the TTL of each packet.  If
  671.    router B is confused, it might think that router A is supposed
  672.    to handle traffic for machine C and fire the packet right back
  673.    to router A.  With a high TTL, you'll generate endless loops
  674.    between these two routers; this, in turn, will slow down everyone
  675.    else's traffic. [and, in some uncommon cases, crash the router;
  676.    I did that once....8( ]
  677.  
  678.    While I certainly agree that it's "someone else's job" to make
  679.    sure that these situations don't occur, I think that we have an
  680.    obligation to minimize our impact on those folks that provide
  681.    our long-range connectivity.
  682.  
  683.    I've found that setting IP_TTL to 64 (0x40) meets all our needs
  684.    AND minimizes our impact on flaky networks.  Please consider
  685.    your needs when configuring; don't just set things to the maximum
  686.    possible.  After all, it's called "performance tuning," not
  687.    "crank it up, man!"
  688.  
  689. ------------------------------------------------------------------------------
  690. Subject: 24 How do I boost the speed of my 3B2/310 or /400?
  691. ------------------------------------------------------------------------------
  692.  
  693.     Modifying a 3B2/310 or /400 to increase CPU clock speed above 10MHz
  694.  
  695. By: Jeff Hakner, Cooper Union  NYC
  696. Draft 1.1, 13JUL1993
  697.  
  698. 3B2/310 and /400 systems were delivered with a maximum CPU clock
  699. rate of 10 MHz.  AT&T, at some point, released a chipset consisting
  700. of CPU, MMU, MAU and oscillator which ran at 14MHz.  That chipset
  701. does not seem to be widely available any longer.  Congruent
  702. Technologies, a big 3B2 VAR, is known to have a large number of
  703. the chips, but their asking price (as of late 1992) was $1000 !!!
  704. Considering that an entire V2 motherboard is going for $50 these
  705. days, that seems outrageous.
  706.  
  707. I heard from several sources that one could simply replace the
  708. oscillator and run the 10MHz chips up to about 14MHz, depending on
  709. the vintage of the motherboard and memory cards.  The oscillator,
  710. a WE32102 in AT&T parlance, is made be McCoy.  It is not a typical
  711. TTL clock oscillator which is housed in a 14-pin DIP and costs
  712. about $5.  This is because the 3B2 CPU requires a bi-phase clock.
  713. McCoy said they had the faster parts, but they wanted $200!!  I
  714. set out to do it myself.
  715.  
  716. Someone got me the pinout of the WE32102, and I noticed two unused
  717. pins.  I put the thing on the bench, hooked it up to a scope, and
  718. experimented.  It turns out that the WE32102 will accept and
  719. *external* clock at double frequency.  This clock source overrides
  720. the internal x2 oscillator which is inside the WE32102 can.
  721. Therefore, one can easily (and cheaply!) vary the CPU clock speed
  722. by attaching the appropriate TTL clock oscillator, about $5.
  723.  
  724. The WE32102 is a 16-pin DIP.  It is a wide DIP, not the narrow type
  725. normally found in a 16 count.  The pinout is:
  726.  
  727.      8: GND
  728.     16: VCC
  729.      3: Internal oscillator enable
  730.      5: External frequency source (x2) input
  731.     10: Clock, phase 1
  732.     12: Clock, phase 2 (90 degree delay)
  733.     14: x2 output    
  734.  
  735. To perform the mod, all you need to do is:
  736.     1) Make sure pin 3 is not connected to the motherboard,
  737.        which provides a pull-up resistor.  Apply ground to pin
  738.        3.  I recommend bending pin 3 off to the side so that
  739.        it doesn't enter the socket, then wire-wrapping a wire
  740.        from pin 8 to pin 3 to ground out the enable.  You must
  741.        ground pin 3; it floats high.  Be careful not to allow
  742.        pin 3 to touch the case of the WE32102.
  743.  
  744.     2) Apply the x2 clock source to pin 5.  I recommend using
  745.        one of the easily-available TTL clock oscillators.  They
  746.        come in a 14-pin DIP: 14=Vcc, 7=Gnd, 9=Output.  Widely
  747.        available, e.g. from JDR or DigiKey.
  748.  
  749.     3) Get power to the above-mentioned TTL clock osc.  I
  750.        recommend borrowing the power from pins 16 and 8 of the
  751.        WE32102.  I did this and left the TTL osc. flipped on
  752.        its back, resting on top of the WE32102, secured with
  753.        electrical tape (ah, electrical tape, the wonders it
  754.        provides...)
  755.  
  756. For example, a 25MHz clock source will run the system at 12.5MHz.
  757. That's the only speed I've tried, and it seems to work fine.  Your
  758. mileage may vary.  In particular, this mod will not work with really
  759. old motherboards or memory cards, I'm told.
  760.  
  761. Early 3B2/300s and /310s ran at 8.2 MHz.  These systems probably
  762. won't get much above 10 MHz.  Very recent 3B2/400s and /310s (is
  763. that an oxymoron?) have 14MHz CPU/MMU/MAU chipsets installed.
  764. These systems may be able to go to 16MHz, but I don't know if the
  765. rest of the motherboard will handle it!
  766.  
  767. ==============================================================================
  768. ==============================================================================
  769.  
  770. To get the latest copy of this FAQ, send a mail message to
  771.     mail-server@rtfm.mit.edu
  772.  
  773. The body of your mail should contain a command to the mail server.
  774. To get all the parts of this FAQ (currently consisting of 2 parts),
  775. place the following command in the body of your message:
  776.     send usenet/news.answers/3b2-faq/*
  777.  
  778. To request only one part, substitute the part number as in the
  779. following example:
  780.     send usenet/news.answers/3b2-faq/part1
  781.  
  782. Please remember to leave the Subject: line blank to reduce the
  783. chance of confusing the server.
  784.  
  785. ==============================================================================
  786. ==============================================================================
  787. If you have any other questions, or better answers, please send
  788. mail to 'greg@gagme.wwa.com'
  789. ==============================================================================
  790. -- 
  791. Gregory Gulik                   -  greg@wwa.com
  792. Computing Engineers, Inc.       -  Home of WorldWide Access (SM)
  793. Data: +1 312 282 8605 (Chicago) - +1 708 367 1871 (Lake County)
  794. Info: +1 708 367 1870 or send mail to info@wwa.com
  795.  
  796.